package com.pet.web.controller.wechat.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel
public class WxMerchantBody {

    @ApiModelProperty(required = true)
    private String openid;

    @ApiModelProperty(required = true, value = "商家码")
    private String merchantCode;

    @NotBlank(message = "openid不能为空")
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @NotBlank(message = "商家码不能为空")
    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }
}
